package aaa.util;

import greendroid.app.GDActivity;
import android.os.Bundle;
import android.widget.ScrollView;
import android.widget.TextView;

public class ErrorScreen extends GDActivity {
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState) ;
		Bundle bundle = this.getIntent().getExtras() ;
		String message = bundle.getString("aaa.main.error_message") ; //$NON-NLS-1$
		this.setTitle("Debug field") ; //$NON-NLS-1$
		ScrollView sv = new ScrollView(this) ;
		TextView text = new TextView(this) ;
		text.setText(message) ;
		sv.addView(text) ;
		this.setActionBarContentView(sv) ;
	}

}